package com.example.g5project.entity.relation;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author Hu Zirui
 * @version 1.0.0
 * @ClassName HelpMessage.java
 * @Description TODO
 * @createTime 2022年03月04日 09:11:00
 */
@Getter
@Setter
@ApiModel(value = "help_message")
@Entity(name = "help_message")
public class HelpMessage {
    @Id
    @JsonProperty("help_message_id")
    private Integer help_message_id;        /*咨询内容id*/
    @JsonProperty("start_time")
    private String start_time;              /*咨询开始日期,细化到时间*/
    @JsonProperty("end_time")
    private String end_time;                /*咨询结束日期,细化到时间*/
    @JsonProperty("content")
    private String content;                 /*消息内容*/
    @JsonProperty("message_type")
    private String message_type;            /*消息类型*/
    @JsonProperty("fromName")
    private String fromName;                /*发送者姓名*/
    @JsonProperty("toName")
    private String toName;                  /*接收者姓名*/
    @JsonProperty("tag")
    private Integer tag;                    /*标识是咨询师还是督导，0是前者，1是后者*/
}
